<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
	<form id="myForm">
		<input type="text" placeholder="请输入用户名" name="username">
		<input type="text" placeholder="请输入邮箱" name="password">
		<!-- 图片路径 -->
		<!-- 不能是我们用户自己去写 -->
		<input type="text" name="thumbnail" style="display: none;">
		<input type="hidden" name="thumbnail">
		<input type="submit">
	</form>
	<script src="../assets/vendors/jquery/jquery.js"></script>
	<script>
		$('#myForm').on('submit',function(){
			console.log($(this).serialize());
			return false;
		})
	</script>
</body>
</html>